/*************************************************************
 * Title: Operation.java
 * Description: 
 * Author: Huang Shaobin
 * Email: shaobin.software@gmail.com
 * CreateTime: Feb 21, 2013 2:32:31 PM
 ************************************************************/
package snow.core.security.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import snow.core.security.Operator;

/**
 *
 */
@Target( { ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Operation {

	String name(); // 权限名称
	
	Operator type(); // 操作类型
	
	boolean needCheck() default true; // 是否需要校验
}
